function []=Dataprocess()
my_dir='G:\data\AbileneTM\X\';
%my_dir='G:\data\Matrix-161\1h-over-375day\201212\';

File=dir(fullfile(my_dir));
LengthFiles = length(File);
for iCount=1:LengthFiles
    if strcmp(File(iCount).name, '.')|| strcmp(File(iCount).name, '..') 
        disp(File(iCount));
        continue;    
    else
        disp(File(iCount));
        load([my_dir, File(iCount).name]);
    end
end
clear my_dir File LengthFiles iCount

end

%{
Y1=Y1/(1024*1024*1024);
Y2=Y2/(1024*1024*1024);
Y3=Y3/(1024*1024*1024);
Y4=Y4/(1024*1024*1024);

arr=find(Y1(:,:)>2000);
Y1(arr)=0;
arr=find(Y2(:,:)>2000);
Y2(arr)=0;
arr=find(Y3(:,:)>2000);
Y3(arr)=0;
arr=find(Y4(:,:)>2000);
Y4(arr)=0;

arr=find(Y1(:,:)==0);
Y1(arr)=mean(mean(Y1));
arr=find(Y2(:,:)==0);
Y2(arr)=mean(mean(Y2));
arr=find(Y3(:,:)==0);
Y3(arr)=mean(mean(Y3));
arr=find(Y4(:,:)==0);
Y4(arr)=mean(mean(Y4));

Y1=Y1/max(max(Y1));
Y2=Y2/max(max(Y2));
Y3=Y3/max(max(Y3));
Y4=Y4/max(max(Y4));

[~,j]=sort(Y1(:,1));
Y1=Y1(j,:);
[~,j]=sort(Y2(:,1));
Y2=Y2(j,:);
[~,j]=sort(Y3(:,1));
Y3=Y3(j,:);
[~,j]=sort(Y4(:,1));
Y4=Y4(j,:);

y1=tensor(Y1,[144,288,168]);
y2=tensor(Y2,[144,288,168]);
y3=tensor(Y3,[144,288,168]);
y4=tensor(Y4,[144,288,168]);

arr1=zeros(168,1);
for k=0:167
Arr=find(Y1(1:144,1+288*k:288+288*k)>1000);
arr1(k+1)=size(Arr,1);
end

for k=0:167
X1(:,1+288*k:288+288*k)=X1(:,1+288*k:288+288*k)/max(max(X1(:,1+288*k:288+288*k)));
end

for k=0:167
T1(:,1+288*k:288+288*k)=(T1(:,1+288*k:288+288*k)-mean(mean(T1(:,1+288*k:288+288*k))))/max(max(T1(:,1+288*k:288+288*k)));
end

%[Y_1,Y_2,Y_3]=Unfolding(Y_source);
%LowRank_TestAll(double(Y_1),double(Y_2),double(Y_3),0.9999,0.9999,0.9999);
%}